//
//  PCLocationView.h
//  EP
//
//  Created by yanfa on 15/8/13.
//  Copyright (c) 2015年 Sun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface PCLocationView : UIActionSheet<UIPickerViewDataSource, UIPickerViewDelegate>{
    @private
    NSArray *lots;
}

@property (weak, nonatomic) IBOutlet UILabel *labelTitle;
@property (weak, nonatomic) IBOutlet UIPickerView *locateView;
@property (weak, nonatomic) NSString *selectLotName;
@property (weak, nonatomic) NSString *selectLotId;
@property NSInteger selectIndex;
// 0 选择彩种 1选年份  2选月份
@property NSInteger type;
@property (weak, nonatomic) NSString *selectStr;

- (IBAction)btnClick_cancel:(id)sender;
- (IBAction)btnClick_ok:(id)sender;

- (id)initWithTitle:(NSString *)title delegate:(id /*<UIActionSheetDelegate>*/)delegate;

- (void)showInView:(UIView *)view withSelectIndex:(NSInteger)selectIndex;
-(void)showInView:(UIView *)view withType:(NSInteger)type withSelectIndex:(NSInteger)sid;

@end
